Skip to content

fix: resolve syntax error caused by duplicate currentWorkspaceMode declaration - #82

Merged
Bor-Code merged 1 commit into
mainfrom
fix/js-duplicate-declaration-error
Nov 13, 2026
Merged

Bor-Code merged 1 commit into
mainfrom
fix/js-duplicate-declaration-error

Conversation

@Bor-Code

Copy link
Copy Markdown
Owner

Summary

Fixes a JavaScript parse-time SyntaxError caused by duplicate declaration of currentWorkspaceMode.

Details

  • Removed the legacy/unused switchWorkspaceMode function and its duplicate let currentWorkspaceMode declaration at line 6968.
  • Validated with node --check that all inline JavaScript scripts in index.html compile cleanly with zero errors, restoring button event handlers and UI interactions.

@Bor-Code
Bor-Code merged commit 8e933e2 into main Nov 13, 2026
1 of 3 checks passed
@Bor-Code
Bor-Code deleted the fix/js-duplicate-declaration-error branch November 13, 2026 12:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant